SUMMARY = "The script for the phytium"
LICENSE = "CLOSED"
PV = "1.0"
PR = "r0"

RDEPENDS:${PN} = "bash"

SRC_URI = " \
    file://gpio-test.sh \
    file://gpio-print.sh \
    file://jpeg \
    file://module \
    "

do_install() {
    install -d ${D}/usr/bin
    install -m 0777 ${WORKDIR}/gpio-test.sh ${D}/usr/bin
    install -m 0777 ${WORKDIR}/gpio-print.sh ${D}/usr/bin

    install -d ${D}/usr/bin/jpeg
    install -m 0644 ${WORKDIR}/jpeg/* ${D}/usr/bin/jpeg/
    install -d ${D}/usr/bin/module
    install -m 0644 ${WORKDIR}/module/*.ko ${D}/usr/bin/module/
}
FILES:${PN} = " \
    /usr/bin \
    /usr/bin/jpeg \
    /usr/bin/module \
    "

ALLOW_EMPTY:${PN} = "1"
